package com.hpp.model;

public class NewsInfo {
    private Integer id;

    private Integer newsTypeId;

    private String title;

    private String keyWord;

    private String imgPath;

    private Integer status;

    private String updateTime;

    private String createTime;

    private String content;
    
    //图片详细
    private String path;
    
    //类型
    private NewsType newsType;
    
    //前一篇文章
    private NewsInfo beforeInfo;
    
    //后一篇文章
    private NewsInfo afterInfo;
    
    public NewsInfo getBeforeInfo() {
		return beforeInfo;
	}

	public void setBeforeInfo(NewsInfo beforeInfo) {
		this.beforeInfo = beforeInfo;
	}

	public NewsInfo getAfterInfo() {
		return afterInfo;
	}

	public void setAfterInfo(NewsInfo afterInfo) {
		this.afterInfo = afterInfo;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public NewsType getNewsType() {
		return newsType;
	}

	public void setNewsType(NewsType newsType) {
		this.newsType = newsType;
	}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNewsTypeId() {
        return newsTypeId;
    }

    public void setNewsTypeId(Integer newsTypeId) {
        this.newsTypeId = newsTypeId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord == null ? null : keyWord.trim();
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath == null ? null : imgPath.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}